package com.luoyuanxiangvip.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author: luoyuanxiang
 * @className: LuoyuanxiangvipWebApplication
 * @packageName: com.luoyuanxiangvip.web
 * @description: web程序入口
 * @data: 2019/5/25 18:26
 **/
@SpringBootApplication(scanBasePackages = "com.luoyuanxiangvip")
public class LuoyuanxiangvipWebApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(LuoyuanxiangvipWebApplication.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(LuoyuanxiangvipWebApplication.class, args);
    }
}
